﻿using Microsoft.Win32;

namespace Socium.TestEditor {
	class UserContext {
		public string QueryDatabasePath() {
			var dialog = new OpenFileDialog {Filter = "Socium database files (*.sdb)|*.sdb|All files(*.*)|*.*"};
			var result = dialog.ShowDialog();
			if (result.Value) {
				return dialog.FileName;
			}

			return null;
		}
	}
}
